<div class="bh-ly-yw-center-jiudian-xialeft bh-Border_2 bh-fl">
	<h3 class="bh-ly-yw-shang">酒店列表</h3>
		<?php foreach ($data->getData() as $one):?>
		<div class="bh-ly-yw-center-jiudian-xialeft-sp">
			<h5 class="bh-ly-yw-xierdun "><a href="<?php echo $one->vUrl?>"><?php echo $one->fullTitle?></a></h5>
			<dl class="bh-ly-yw-jly">
				<dt><a href="<?php echo $one->vUrl?>"><?php echo $one->img(120,164)?></a></dt>
				<dd class="bh-ly-yw-tao">星级：<?php echo Yii::app()->enum->lookup('basic.hotelStar', CHtml::value($one, 'star') );?></dd>
				<dd><span>地址：</span><?php echo $one->detailProvince?></dd>
				<dd><p><?php echo CUtilHelper::string()->msubstr($one->vDesc,0, 40, 'utf-8', '..');?><a href="<?php echo $one->vUrl?>">[详细]</a></p></dd>
				<div class="bh-clear"></div>
			</dl>
			<table width="661" height="208">
				<tr>
					<th width="132">房型</th>
					<th width="158">价格</th>
					<th width="151">早餐</th>
					<th width="151">宽带</th>
					<th width="200">操作</th>
				</tr>
				<?php foreach ($one->goods as $item):?>
				<tr>
					<td><?php echo $item->room_type?></td>
					<td>￥<?php echo CHtml::value($item, 'goods.priceInfo.price_dealer')?></td>
					<td><?php echo Yii::app()->enum->lookup('yes2no', $item->has_breakfast)?></td>
					<td><?php echo Yii::app()->enum->lookup('goods.broadbandType',$item->broadband_type)?></td>
					<td><input type="button" href='<?php echo $this->createUrl('order/write',array('id'=>$item->goods_id))?>' value="预定" class="bh-href bh-ly-yw-center-jjingqu-sub"/></td>
				</tr>
				<?php endforeach;?>
			</table>
		</div>
		<?php endforeach;?>
		<div class="bh-space"></div>
		<div class="bh-c-shuizi1-c-yy bh-mLeft20 bh-fr">
			<?php $this->widget('LyLinkPager',array(
					'pages' => $data->pagination,
				))?>
		</div>
</div>